﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QuanLyTiemVang.Classes
{
    /// <summary>
    /// use for CurrentUser class to control PhanQuyen on many forms.
    /// if your forms can be diffirent based on current user, your forms must implements this interface
    /// </summary>
    interface IPhanQuyenHelper
    {
        void SetAdminFunction();
        void SetStaffFunction();
        void SetCustomerFunction();
        void SetNonFunction(); //usually close this form if It is not main form
    }
}
